package model
{
	//自己信息
	
	import flash3.framework.ListManager;
	import flash3.framework.Singleton;
	
	import view.plugin.UserImage;
	
	import vo.ColumnItem;
	import vo.ServerInfo;
	import vo.UserInfo;
	import vo.UserScore;
	import vo.UserStatus;
	
	public class MeInfoModel extends ListManager
	{
		public var dwPlazaVersion:uint;					//广场版本
		public var szSpreader:String;						//推广人名
		public var szAccounts:String;						//登录帐号
		public var szPassWord:String;						//原始密码
		public var mdPassWord:String;						//md5密码
		public var userInfo:UserInfo;						//用户信息
		public var userScore:UserScore;					//用户积分
		public var userStatus:UserStatus;
		public var serverInfo:ServerInfo;
		public var columnItem:ColumnItem;
		public var userImage:UserImage;
		
		public function MeInfoModel()
		{
			super();
			userInfo = new UserInfo();
			userScore = new UserScore();
			userStatus = new UserStatus();
			userImage = new UserImage();
		}
		
		static public function get i():MeInfoModel
		{
			return Singleton.getInstanceOrCreate(MeInfoModel) as MeInfoModel;
		}
		
		public function getMeUserID():uint
		{
			return userInfo.dwUserID;
		}
	}
}